<script setup lang="ts">
import SelectProduct from './SelectProduct.vue'

</script>
<template>
  <van-swipe-cell>
    <SelectProduct />
    <template #right>
      <van-button square text="删除" type="danger" class="delete-button" />
    </template>
  </van-swipe-cell>
</template>
<style lang="scss" scoped>
.delete-button {
  height: 100%;
}
:deep(.van-swipe-cell__right) {
  // 安卓浏览器问题兼容
  transform: translate3d(101%,0,0);
}
</style>